Integrand size = 19, antiderivative size = 51 \[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=-\frac {(d \cot (e+f x))^{1+n}}{d f (1+n)}-\frac {(d \cot (e+f x))^{3+n}}{d^3 f (3+n)} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2687, 14} \[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=-\frac {(d \cot (e+f x))^{n+3}}{d^3 f (n+3)}-\frac {(d \cot (e+f x))^{n+1}}{d f (n+1)} \]
[In]
[Out]
Rule 14
Rule 2687
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int (-d x)^n \left (1+x^2\right ) \, dx,x,-\cot (e+f x)\right )}{f} \\ & = \frac {\text {Subst}\left (\int \left ((-d x)^n+\frac {(-d x)^{2+n}}{d^2}\right ) \, dx,x,-\cot (e+f x)\right )}{f} \\ & = -\frac {(d \cot (e+f x))^{1+n}}{d f (1+n)}-\frac {(d \cot (e+f x))^{3+n}}{d^3 f (3+n)} \\ \end{align*}
Time = 0.44 (sec) , antiderivative size = 45, normalized size of antiderivative = 0.88 \[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=-\frac {\cot (e+f x) (d \cot (e+f x))^n \left (2+(1+n) \csc ^2(e+f x)\right )}{f (1+n) (3+n)} \]
[In]
[Out]
Time = 3.50 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.18
method | result | size |
derivativedivides | \(-\frac {\cot \left (f x +e \right ) {\mathrm e}^{n \ln \left (d \cot \left (f x +e \right )\right )}}{f \left (1+n \right )}-\frac {\cot \left (f x +e \right )^{3} {\mathrm e}^{n \ln \left (d \cot \left (f x +e \right )\right )}}{f \left (3+n \right )}\) | \(60\) |
default | \(-\frac {\cot \left (f x +e \right ) {\mathrm e}^{n \ln \left (d \cot \left (f x +e \right )\right )}}{f \left (1+n \right )}-\frac {\cot \left (f x +e \right )^{3} {\mathrm e}^{n \ln \left (d \cot \left (f x +e \right )\right )}}{f \left (3+n \right )}\) | \(60\) |
risch | \(\text {Expression too large to display}\) | \(5257\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.71 \[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=\frac {{\left (2 \, \cos \left (f x + e\right )^{3} - {\left (n + 3\right )} \cos \left (f x + e\right )\right )} \left (\frac {d \cos \left (f x + e\right )}{\sin \left (f x + e\right )}\right )^{n}}{{\left (f n^{2} - {\left (f n^{2} + 4 \, f n + 3 \, f\right )} \cos \left (f x + e\right )^{2} + 4 \, f n + 3 \, f\right )} \sin \left (f x + e\right )} \]
[In]
[Out]
\[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=\int \left (d \cot {\left (e + f x \right )}\right )^{n} \csc ^{4}{\left (e + f x \right )}\, dx \]
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 56, normalized size of antiderivative = 1.10 \[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=-\frac {\frac {\left (\frac {d}{\tan \left (f x + e\right )}\right )^{n + 1}}{d {\left (n + 1\right )}} + \frac {d^{n} \tan \left (f x + e\right )^{-n}}{{\left (n + 3\right )} \tan \left (f x + e\right )^{3}}}{f} \]
[In]
[Out]
\[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=\int { \left (d \cot \left (f x + e\right )\right )^{n} \csc \left (f x + e\right )^{4} \,d x } \]
[In]
[Out]
Time = 12.66 (sec) , antiderivative size = 84, normalized size of antiderivative = 1.65 \[ \int (d \cot (e+f x))^n \csc ^4(e+f x) \, dx=-\frac {\left (\frac {3\,\cos \left (e+f\,x\right )}{2}-\frac {\cos \left (3\,e+3\,f\,x\right )}{2}+n\,\cos \left (e+f\,x\right )\right )\,{\left (\frac {d\,\cos \left (e+f\,x\right )}{2\,\cos \left (\frac {e}{2}+\frac {f\,x}{2}\right )\,\sin \left (\frac {e}{2}+\frac {f\,x}{2}\right )}\right )}^n}{f\,{\sin \left (e+f\,x\right )}^3\,\left (n+1\right )\,\left (n+3\right )} \]
[In]
[Out]